﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Validation
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
                txtAge.Text = "";
                txtEmail.Text = "";
                txtPassword.Text = "";
                txtPhone.Text = "";
                txtRepassword.Text = "";
                txtUsername.Text = "";                
                     
        }
        
        protected void Button1_Click(object sender, EventArgs e)
        {
            Label1.Text = "Submit success . .!";
        }

        protected void btnReset_Click(object sender, EventArgs e)
        {

            txtAge.Text = "";
            txtEmail.Text = "";
            txtPassword.Text = "";
            txtPhone.Text = "";
            txtRepassword.Text = "";
            txtUsername.Text = "";
           
        }
    }
}